package com.jeomo.mem.starter.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.jeomo.base.starter.entity.BaseEntity;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * 会员消费明细
 *
 * @author:Jackpot
 * @create 2020-11-09 11:16
 * @description:
 */
public class MemberConsumeDetail extends BaseEntity {

    @TableId(type = IdType.ASSIGN_ID)
    private String code;
    /** 订单号 */
    private String orderNo;
    /** 会员卡号 */
    private String cardNo;
    /** 会员名称*/
    private String memberName;
    /** 商户*/
    private String merchant;
    @TableField(exist = false)
    private String merchantName;
    /**  消费时间 */
    private LocalDateTime payTime;
    /**  消费金额 */
    private Double payAmount;
    /** 来源ID  */
    private String srcId;
    /** 来源类型  */
    private String srcType;
    @TableField(exist = false)
    private String srcTypeName;

    /**  组织号 */
    private String org;
    @TableField(exist = false)
    /**  会员卡版本号 */
    private Long cardVersion;

    public String getMerchantName() {
        return merchantName;
    }

    public void setMerchantName(String merchantName) {
        this.merchantName = merchantName;
    }

    public String getSrcTypeName() {
        return srcTypeName;
    }

    public void setSrcTypeName(String srcTypeName) {
        this.srcTypeName = srcTypeName;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public String getMerchant() {
        return merchant;
    }

    public void setMerchant(String merchant) {
        this.merchant = merchant;
    }

    public LocalDateTime getPayTime() {
        return payTime;
    }

    public void setPayTime(LocalDateTime payTime) {
        this.payTime = payTime;
    }

    public Double getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(Double payAmount) {
        this.payAmount = payAmount;
    }

    public String getSrcId() {
        return srcId;
    }

    public void setSrcId(String srcId) {
        this.srcId = srcId;
    }

    public String getSrcType() {
        return srcType;
    }

    public void setSrcType(String srcType) {
        this.srcType = srcType;
    }

    public String getOrg() {
        return org;
    }

    public void setOrg(String org) {
        this.org = org;
    }

    public Long getCardVersion() {
        return cardVersion;
    }

    public void setCardVersion(Long cardVersion) {
        this.cardVersion = cardVersion;
    }
}
